package com.azt.api.dto;

/**
 * 公开发布推荐供应商信息
 * Created by 张栋 on 2016/10/119:45
 */
public class EnqPurchaseRecommend {

    private  Integer companyId;
    private String companyName;
    /**
     * 1.所有集采供应商
     * 2.与该公司交易过的供应商
     * 3.普通的,去掉集采的
     */
    private Integer type;


    //是否集采公司 1是, 0否
    private Integer isjicai;


    public Integer getCompanyId() {
        return companyId;
    }

    public void setCompanyId(Integer companyId) {
        this.companyId = companyId;
    }

    public String getCompanyName() {
        return companyName;
    }

    public void setCompanyName(String companyName) {
        this.companyName = companyName;
    }

    public Integer getType() {
        return type;
    }

    public void setType(Integer type) {
        this.type = type;
    }

    public Integer getIsjicai() {
        return isjicai;
    }

    public void setIsjicai(Integer isjicai) {
        this.isjicai = isjicai;
    }

    @Override
    public boolean equals(Object o) {
        if (this == o) return true;
        if (o == null || getClass() != o.getClass()) return false;

        EnqPurchaseRecommend that = (EnqPurchaseRecommend) o;

        return companyId != null ? companyId.equals(that.companyId) : that.companyId == null;

    }

    @Override
    public int hashCode() {
        return companyId != null ? companyId.hashCode() : 0;
    }
}
